﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="PhysicalUpdateForm.aspx.cs" Inherits="App_Input_PhysicalUpdateForm" Title="体检报告新规画面" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:Panel ID="PanelNavigate" runat="server" />
<script language="javascript">
    function settext(id,val){
     //alert(id + '***' + val);
     window.document.getElementById(id).value=val;
    }
    function popup(){
        //alert("<%=txtPersonId.ClientID%>");
        window.open('../Commons/PhysicalPopForm.aspx?tID=<%=txtPersonId.ClientID%>','PhysicalPopForm','scrollbars,resizable')
    }
</script>
<div>
                <cc1:comvalidator id="ComValidator1" runat="server" checkitems-capacity="4" forecolor="Red"><cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtPersonId"><cc1:ComAbsParamsAttribute Parameter="人员编号"></cc1:ComAbsParamsAttribute>
</cc1:CheckRequiredAttribute>
<cc1:CheckLongAttribute Code="E0322" ControlToValidator="txtPersonId"><cc1:ComAbsParamsAttribute Parameter="人员编号"></cc1:ComAbsParamsAttribute>
</cc1:CheckLongAttribute>
</cc1:comvalidator>

<table width="80%">
  <tr>
    <td style="height: 120px">
        <table class="table_border_line" >
            <tr>
			<td align="left" colspan="4" >
			<script language="javascript">
                                        (new TitleBar('SearchBar', '新规登记')).showBar();
                            </script>
			</td>						
		  </tr>				
        </table>
		<table class="table_border_line" style="background:ffffff">
		  <tr>
			<td style="width:90px">&nbsp;</td>
			<td style="width:120px; white-space:nowrap" align="left">
                人员编号</td>
			<td align="left">
				<table>
					<tr>
						<td style="width: 3px; height: 58px;">
                            <asp:TextBox ID="txtPersonId" runat="server" MaxLength="6"></asp:TextBox></td>
						<td style="height: 58px">
				            <table>
					            <tr>
                                    <td >
                                        <a href="#" onclick="javascript:popup();"><img src="../../images/search.jpg" border="0"/></a></td>						
					            </tr>
				            </table>						
						</td>						
					</tr>
				</table>			
			</td>
		  </tr>				  
    </table>	
	</td>
	<td style="height: 120px">&nbsp;</td>
  </tr>
  <tr>
    <td align="center" style="height: 21px">
      <table>
         <tr>
            <td style="width:80px; height: 24px;" >
                <asp:Button ID="btnAdd" runat="server" CssClass="button" Text="新 建"  Height="100%" Width="100%" OnClick="btnAdd_Click"/></td>						
            <td></td>
            <td style="width:80px; height: 24px;"><asp:Button ID="btnBack" runat="server" CssClass="button" Text="返 回"  Height="100%" Width="100%" OnClick="btnBack_Click"/></td>						
         </tr>
      </table>   
    </td>
  </tr>
</table>
</div>
</asp:Content>

